package com.mstar.qs.common.bean;

import java.io.Serializable;
import java.util.Comparator;

public class CommonSecurity implements Serializable, Comparator{
	
	public static final String FOXREX="FOREX";
	
	protected int secuType;
	protected String Name;
	protected String description;
	
	public CommonSecurity() {}
	
	public CommonSecurity(int secuType) {
		this.secuType=secuType;
	}
	
	public int getSecuType() {
		return secuType;
	}
	public void setSecuType(int secuType) {
		this.secuType = secuType;
	}
	
	public String getName() {
		return Name;
	}

	public void setName(String name) {
		Name = name;
	}



	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	@Override
	public int compare(Object arg0, Object arg1) {
		// TODO Auto-generated method stub
		return 0;
	}
	
	
	public static final int SECURITY_FOREX=20;// Forex
	public static final int SECURITY_STOCK=1;// Stock
	public static final int SECURITY_INDEX=10;// Index
	public static final int SECURITY_MF=8;// mutru fund
	public static final int SECURITY_OPTION=2;//Option
	public static final int SECURITY_FUTURE=3;//Future

}
